package io.kiki.sba.registry.server.clientInterface.converter.pb;

import com.google.protobuf.ProtocolStringList;

import java.util.ArrayList;
import java.util.List;


public class ListStringConvertor {

    public static List<String> convert2Java(ProtocolStringList list) {

        if (list == null) {
            return null;
        } else {
            return new ArrayList<>(list);
        }
    }
}
